package org.gaaidou.ptarmigan.springboot.data.jpa.entity;

import jakarta.persistence.Id;
import jakarta.persistence.MappedSuperclass;
import lombok.Getter;
import lombok.Setter;
import org.gaaidou.ptarmigan.springboot.core.BaseBean;

@Setter
@Getter
@MappedSuperclass
public class BaseEntity extends BaseBean {

    @Id
    private long id;

    private Long createTime;

    private Long updateTime;

    private String createUser;

    private String updateUser;
}
